<template>
    <div>
        name:{{name}}
        <a-input v-model="address"></a-input>
        <a-button @click="emitEvent">事件</a-button>
    </div>
</template>
<script>
export default {
    name: "ext-component-demo",
    props:{
        name:{
            type:String
        }
    },
    data(){
        return {
            address:""
        }
    },
    methods:{
        emitEvent(){
            this.$emit("click",this.address);
        }
    }
}
</script>
